import os
import numpy as np
import pandas as pd


def get_project_root():
    path = os.getcwd()
    # 约定 项目的代码在src文件夹，其它的目录与它平级
    pos = path.find("src")
    if pos > 0:
        return path[:pos - 1]
    else:
        return path